home *** CD-ROM | disk | FTP | other *** search
/ The Macintosh Demo: Applications / Apple-MacintoshDemoApplicationsCD-1.0-1992.iso / More Information / Infini-D™ / Infini-D™ Interactive Movie / Graphic Proof / Graphic Proof.rsrc / VWAC_1024 < prev    next >
Unknown  |  1992-03-02  |  7.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 3a 02 01 00 00 03 01 | 01 6d 04 01 01 91 05 01 |.:......|.m......|
|00000010| 02 b1 06 01 03 d0 07 01 | 03 df 08 01 03 ec 09 01 |........|........|
|00000020| 03 f8 00 00 04 05 0a 01 | 04 05 0b 01 08 13 0c 01 |........|........|
|00000030| 09 32 0d 01 09 36 0e 01 | 0d a1 0f 01 0e c0 10 01 |.2...6..|........|
|00000040| 0f df 11 01 10 69 00 00 | 12 7f 12 01 12 7f 13 01 |.....i..|........|
|00000050| 13 9e 14 01 14 bd 00 00 | 16 ee 00 00 16 ee 00 00 |........|........|
|00000060| 16 ee 00 00 16 ee 00 00 | 16 ee 00 00 16 ee 00 00 |........|........|
|00000070| 16 ee 00 00 16 ee 15 01 | 16 ee 00 00 19 5c 00 00 |........|.....\..|
|00000080| 19 5c 16 01 19 5c 00 00 | 19 6c 17 01 19 6c 00 00 |.\...\..|.l...l..|
|00000090| 19 7d 00 00 19 7d 00 00 | 19 7d 00 00 19 7d 00 00 |.}...}..|.}...}..|
|000000a0| 19 7d 00 00 19 7d 18 01 | 19 7d 00 00 19 86 00 00 |.}...}..|.}......|
|000000b0| 19 86 00 00 19 86 00 00 | 19 86 00 00 19 86 00 00 |........|........|
|000000c0| 19 86 00 00 19 86 00 00 | 19 86 00 00 19 86 00 00 |........|........|
|000000d0| 19 86 00 00 19 86 00 00 | 19 86 00 00 19 86 00 00 |........|........|
|000000e0| 19 86 00 00 19 86 19 01 | 19 86 20 00 1d e3 70 6c |........|.. ...pl|
|000000f0| 61 79 20 66 72 61 6d 65 | 20 22 45 6e 64 22 20 6f |ay frame| "End" o|
|00000100| 66 20 6d 6f 76 69 65 20 | 22 49 6e 74 72 6f 22 0d |f movie |"Intro".|
|00000110| 0d 0d 2d 2d 20 0d 2d 2d | 20 54 68 69 73 20 73 63 |..-- .--| This sc|
|00000120| 72 69 70 74 20 73 69 6d | 70 6c 79 20 74 61 6b 65 |ript sim|ply take|
|00000130| 73 20 75 73 20 62 61 63 | 6b 20 74 6f 20 74 68 65 |s us bac|k to the|
|00000140| 20 62 65 67 69 6e 6e 69 | 6e 67 0d 2d 2d 20 6d 6f | beginni|ng.-- mo|
|00000150| 76 69 65 2c 20 77 68 69 | 63 68 20 74 68 65 6e 20 |vie, whi|ch then |
|00000160| 71 75 69 74 73 20 74 68 | 65 20 70 72 6f 6a 65 63 |quits th|e projec|
|00000170| 74 6f 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2c |tor appl|ication,|
|00000180| 20 61 74 0d 2d 2d 20 77 | 68 69 63 68 20 70 6f 69 | at.-- w|hich poi|
|00000190| 6e 74 20 77 65 20 67 65 | 74 20 61 6e 20 75 67 6c |nt we ge|t an ugl|
|000001a0| 79 20 64 69 61 6c 6f 67 | 20 70 72 6f 6d 6f 74 69 |y dialog| promoti|
|000001b0| 6e 67 20 4d 61 63 72 6f | 4d 69 6e 64 0d 2d 2d 20 |ng Macro|Mind.-- |
|000001c0| 44 69 72 65 63 74 6f 72 | 2e 0d 2d 2d 20 0d 2d 2d |Director|..-- .--|
|000001d0| 20 49 73 20 74 68 69 73 | 20 61 20 6a 61 62 3f 20 | Is this| a jab? |
|000001e0| 20 59 65 73 2e 0d 2d 2d | 20 0d 2d 2d 20 53 68 6f | Yes..--| .-- Sho|
|000001f0| 75 6c 64 20 4d 61 63 72 | 6f 4d 69 6e 64 20 67 65 |uld Macr|oMind ge|
|00000200| 74 20 72 69 64 20 6f 66 | 20 74 68 61 74 20 75 67 |t rid of| that ug|
|00000210| 6c 79 20 64 69 61 6c 6f | 67 3f 20 20 59 65 73 2e |ly dialo|g? Yes.|
|00000220| 0d 2d 2d 20 0d 2d 2d 20 | 57 69 6c 6c 20 74 68 65 |.-- .-- |Will the|
|00000230| 79 2e 2e 2e 4e 6f 74 20 | 75 6e 6c 65 73 73 20 77 |y...Not |unless w|
|00000240| 65 20 63 6f 6e 74 69 6e | 75 65 20 74 6f 20 73 70 |e contin|ue to sp|
|00000250| 65 61 6b 20 75 70 2e 0d | 2d 2d 20 70 6c 61 79 20 |eak up..|-- play |
|00000260| 66 72 61 6d 65 20 22 53 | 74 61 72 74 22 20 6f 66 |frame "S|tart" of|
|00000270| 20 6d 6f 76 69 65 20 22 | 49 6e 74 72 6f 22 20 67 | movie "|Intro" g|
|00000280| 6c 6f 62 61 6c 20 77 68 | 69 63 68 49 6e 66 6f 0d |lobal wh|ichInfo.|
|00000290| 0d 73 65 74 20 77 68 69 | 63 68 49 6e 66 6f 20 3d |.set whi|chInfo =|
|000002a0| 20 34 0d 67 65 74 49 6e | 66 6f 0d 0d 0d 2d 2d 20 | 4.getIn|fo...-- |
|000002b0| 0d 2d 2d 20 54 68 69 73 | 20 73 63 72 69 70 74 20 |.-- This| script |
|000002c0| 73 65 74 73 20 75 70 20 | 74 68 65 20 67 6c 6f 62 |sets up |the glob|
|000002d0| 61 6c 20 76 61 72 69 61 | 62 6c 65 20 77 68 69 63 |al varia|ble whic|
|000002e0| 68 49 6e 66 6f 0d 2d 2d | 20 61 6e 64 20 74 68 65 |hInfo.--| and the|
|000002f0| 6e 20 73 65 74 73 20 69 | 74 20 74 6f 20 62 65 20 |n sets i|t to be |
|00000300| 74 68 65 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 |the appr|opriate |
|00000310| 6e 75 6d 62 65 72 2e 0d | 2d 2d 20 0d 2d 2d 20 54 |number..|-- .-- T|
|00000320| 68 65 20 68 61 6e 64 6c | 65 72 20 67 65 74 49 6e |he handl|er getIn|
|00000330| 66 6f 20 69 73 20 74 68 | 65 6e 20 63 61 6c 6c 65 |fo is th|en calle|
|00000340| 64 2c 20 61 6e 64 20 75 | 73 65 73 20 77 68 69 63 |d, and u|ses whic|
|00000350| 68 49 6e 66 6f 0d 2d 2d | 20 74 6f 20 70 6c 61 63 |hInfo.--| to plac|
|00000360| 65 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |e the ap|propriat|
|00000370| 65 20 74 65 78 74 20 69 | 6e 20 74 68 65 20 63 6f |e text i|n the co|
|00000380| 70 79 72 69 67 68 74 0d | 2d 2d 20 69 6e 66 6f 20 |pyright.|-- info |
|00000390| 63 61 73 74 6d 65 6d 62 | 65 72 2e 0d 2d 2d 20 67 |castmemb|er..-- g|
|000003a0| 6c 6f 62 61 6c 20 77 68 | 69 63 68 49 6e 66 6f 0d |lobal wh|ichInfo.|
|000003b0| 0d 73 65 74 20 77 68 69 | 63 68 49 6e 66 6f 20 3d |.set whi|chInfo =|
|000003c0| 20 31 0d 67 65 74 49 6e | 66 6f 0d 0d 2d 2d 20 0d | 1.getIn|fo..-- .|
|000003d0| 2d 2d 20 54 68 69 73 20 | 73 63 72 69 70 74 20 73 |-- This |script s|
|000003e0| 65 74 73 20 75 70 20 74 | 68 65 20 67 6c 6f 62 61 |ets up t|he globa|
|000003f0| 6c 20 76 61 72 69 61 62 | 6c 65 20 77 68 69 63 68 |l variab|le which|
|00000400| 49 6e 66 6f 0d 2d 2d 20 | 61 6e 64 20 74 68 65 6e |Info.-- |and then|
|00000410| 20 73 65 74 73 20 69 74 | 20 74 6f 20 62 65 20 74 | sets it| to be t|
|00000420| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 6e |he appro|priate n|
|00000430| 75 6d 62 65 72 2e 0d 2d | 2d 20 0d 2d 2d 20 54 68 |umber..-|- .-- Th|
|00000440| 65 20 68 61 6e 64 6c 65 | 72 20 67 65 74 49 6e 66 |e handle|r getInf|
|00000450| 6f 20 69 73 20 74 68 65 | 6e 20 63 61 6c 6c 65 64 |o is the|n called|
|00000460| 2c 20 61 6e 64 20 75 73 | 65 73 20 77 68 69 63 68 |, and us|es which|
|00000470| 49 6e 66 6f 0d 2d 2d 20 | 74 6f 20 70 6c 61 63 65 |Info.-- |to place|
|00000480| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate|
|00000490| 20 74 65 78 74 20 69 6e | 20 74 68 65 20 63 6f 70 | text in| the cop|
|000004a0| 79 72 69 67 68 74 0d 2d | 2d 20 69 6e 66 6f 20 63 |yright.-|- info c|
|000004b0| 61 73 74 6d 65 6d 62 65 | 72 2e 0d 2d 2d 20 67 6f |astmembe|r..-- go|
|000004c0| 20 74 6f 20 22 50 72 6f | 64 75 63 74 22 67 6f 20 | to "Pro|duct"go |
|000004d0| 74 6f 20 22 4d 65 64 69 | 61 22 67 6f 20 74 6f 20 |to "Medi|a"go to |
|000004e0| 22 4c 6f 67 6f 22 67 6f | 20 74 6f 20 22 49 6c 6c |"Logo"go| to "Ill|
|000004f0| 75 73 22 67 6c 6f 62 61 | 6c 20 73 77 69 74 63 68 |us"globa|l switch|
|00000500| 4f 6e 2c 20 72 65 70 65 | 61 74 4f 6e 0d 0d 0d 73 |On, repe|atOn...s|
|00000510| 65 74 20 74 68 65 20 74 | 65 78 74 20 6f 66 20 63 |et the t|ext of c|
|00000520| 61 73 74 20 41 36 31 20 | 74 6f 20 22 20 22 0d 73 |ast A61 |to " ".s|
|00000530| 65 74 20 74 68 65 20 66 | 6f 72 65 43 6f 6c 6f 72 |et the f|oreColor|
|00000540| 20 6f 66 20 73 70 72 69 | 74 65 20 39 20 3d 20 32 | of spri|te 9 = 2|
|00000550| 35 35 0d 73 65 74 20 69 | 6e 66 6f 4f 6e 20 3d 20 |55.set i|nfoOn = |
|00000560| 30 0d 73 65 74 20 73 77 | 69 74 63 68 4f 6e 20 3d |0.set sw|itchOn =|
|00000570| 20 30 0d 70 75 70 70 65 | 74 53 70 72 69 74 65 20 | 0.puppe|tSprite |
|00000580| 31 34 2c 20 54 52 55 45 | 0d 0d 0d 69 66 20 72 65 |14, TRUE|...if re|
|00000590| 70 65 61 74 4f 6e 20 3d | 20 31 20 74 68 65 6e 0d |peatOn =| 1 then.|
|000005a0| 20 20 73 65 74 20 74 68 | 65 20 70 69 63 74 75 72 | set th|e pictur|
|000005b0| 65 20 6f 66 20 63 61 73 | 74 20 41 35 33 20 74 6f |e of cas|t A53 to|
|000005c0| 20 74 68 65 20 70 69 63 | 74 75 72 65 20 6f 66 20 | the pic|ture of |
|000005d0| 63 61 73 74 20 41 36 32 | 20 0d 20 20 75 70 64 61 |cast A62| . upda|
|000005e0| 74 65 53 74 61 67 65 0d | 20 20 0d 65 6c 73 65 0d |teStage.| .else.|
|000005f0| 20 20 73 65 74 20 74 68 | 65 20 70 69 63 74 75 72 | set th|e pictur|
|00000600| 65 20 6f 66 20 63 61 73 | 74 20 41 35 33 20 74 6f |e of cas|t A53 to|
|00000610| 20 74 68 65 20 70 69 63 | 74 75 72 65 20 6f 66 20 | the pic|ture of |
|00000620| 63 61 73 74 20 41 36 33 | 0d 20 20 75 70 64 61 74 |cast A63|. updat|
|00000630| 65 53 74 61 67 65 0d 20 | 20 0d 65 6e 64 20 69 66 |eStage. | .end if|
|00000640| 0d 0d 0d 2d 2d 20 0d 2d | 2d 20 54 68 69 73 20 73 |...-- .-|- This s|
|00000650| 63 72 69 70 74 20 73 65 | 74 73 20 75 70 20 74 68 |cript se|ts up th|
|00000660| 65 20 6e 65 78 74 20 66 | 72 61 6d 65 2e 0d 2d 2d |e next f|rame..--|
|00000670| 20 0d 2d 2d 20 42 61 73 | 69 63 61 6c 6c 79 2c 20 | .-- Bas|ically, |
|00000680| 61 6c 6c 20 70 61 72 61 | 6d 65 74 65 72 73 20 68 |all para|meters h|
|00000690| 61 76 65 20 74 6f 20 62 | 65 20 72 65 73 65 74 2c |ave to b|e reset,|
|000006a0| 20 61 73 20 77 65 6c 6c | 20 61 73 20 72 65 73 65 | as well| as rese|
|000006b0| 74 74 69 6e 67 0d 2d 2d | 20 63 65 72 74 61 69 6e |tting.--| certain|
|000006c0| 20 70 75 70 70 65 74 53 | 70 72 69 74 65 73 20 62 | puppetS|prites b|
|000006d0| 61 63 6b 20 74 6f 20 74 | 68 65 69 72 20 6e 6f 72 |ack to t|heir nor|
|000006e0| 6d 61 6c 20 6d 6f 64 65 | 73 2e 0d 2d 2d 20 0d 2d |mal mode|s..-- .-|
|000006f0| 2d 20 54 68 65 20 73 74 | 61 74 65 6d 65 6e 74 73 |- The st|atements|
|00000700| 20 67 72 6f 75 70 65 64 | 20 61 62 6f 76 65 20 74 | grouped| above t|
|00000710| 68 65 20 69 66 2e 2e 2e | 74 68 65 6e 20 73 74 61 |he if...|then sta|
|00000720| 74 65 6d 65 6e 74 20 72 | 65 73 65 74 20 74 68 65 |tement r|eset the|
|00000730| 0d 2d 2d 20 62 75 74 74 | 6f 6e 20 69 6e 20 63 61 |.-- butt|on in ca|
|00000740| 73 65 20 74 68 65 20 62 | 6c 69 6e 6b 42 75 74 74 |se the b|linkButt|
|00000750| 6f 6e 20 4c 69 6e 67 6f | 20 73 63 72 69 70 74 20 |on Lingo| script |
|00000760| 6c 65 66 74 20 61 20 62 | 75 74 74 6f 6e 0d 2d 2d |left a b|utton.--|
|00000770| 20 69 6e 20 69 74 27 73 | 20 67 72 65 65 6e 20 73 | in it's| green s|
|00000780| 74 61 74 65 2e 20 20 28 | 56 65 72 79 20 75 67 6c |tate. (|Very ugl|
|00000790| 79 2e 29 0d 2d 2d 20 0d | 2d 2d 20 54 68 69 73 20 |y.).-- .|-- This |
|000007a0| 69 73 20 77 68 65 72 65 | 20 73 6f 6d 65 20 72 65 |is where| some re|
|000007b0| 61 6c 6c 79 20 6e 61 73 | 74 79 20 70 72 6f 62 6c |ally nas|ty probl|
|000007c0| 65 6d 73 20 63 61 6e 20 | 68 61 70 70 65 6e 2e 20 |ems can |happen. |
|000007d0| 20 4c 69 6e 67 6f 0d 2d | 2d 20 6f 76 65 72 72 69 | Lingo.-|- overri|
|000007e0| 64 65 73 20 74 68 65 20 | 53 63 6f 72 65 2c 20 62 |des the |Score, b|
|000007f0| 75 74 20 73 6f 6d 65 74 | 69 6d 65 73 20 4c 69 6e |ut somet|imes Lin|
|00000800| 67 6f 20 6c 65 61 76 65 | 73 20 79 6f 75 72 20 73 |go leave|s your s|
|00000810| 74 61 67 65 0d 2d 2d 20 | 61 20 6d 65 73 73 2c 20 |tage.-- |a mess, |
|00000820| 61 74 20 77 68 69 63 68 | 20 70 6f 69 6e 74 2c 20 |at which| point, |
|00000830| 79 6f 75 27 6c 6c 20 6e | 65 65 64 20 61 20 73 63 |you'll n|eed a sc|
|00000840| 72 69 70 74 20 6c 69 6b | 65 20 74 68 69 73 20 74 |ript lik|e this t|
|00000850| 6f 0d 2d 2d 20 63 6c 65 | 61 6e 20 69 74 20 75 70 |o.-- cle|an it up|
|00000860| 2e 0d 2d 2d 20 0d 2d 2d | 20 57 68 61 74 20 77 65 |..-- .--| What we|
|00000870| 20 6e 65 65 64 20 69 73 | 20 61 6e 20 75 70 64 61 | need is| an upda|
|00000880| 74 65 53 63 6f 72 65 20 | 63 6f 6d 6d 61 6e 64 20 |teScore |command |
|00000890| 74 68 61 74 20 64 6f 65 | 73 20 61 20 67 6c 6f 62 |that doe|s a glob|
|000008a0| 61 6c 0d 2d 2d 20 72 65 | 73 65 74 20 6f 66 20 74 |al.-- re|set of t|
|000008b0| 68 65 20 53 63 6f 72 65 | 27 73 20 63 6f 6e 74 65 |he Score|'s conte|
|000008c0| 6e 74 73 20 74 6f 20 61 | 20 73 74 61 67 65 2e 20 |nts to a| stage. |
|000008d0| 28 4f 72 20 49 20 61 6d | 20 6d 69 73 73 69 6e 67 |(Or I am| missing|
|000008e0| 20 0d 2d 2d 20 73 6f 6d | 65 74 68 69 6e 67 20 69 | .-- som|ething i|
|000008f0| 6e 20 74 68 65 20 6d 61 | 6e 75 61 6c 2e 0d 2d 2d |n the ma|nual..--|
|00000900| 20 67 6c 6f 62 61 6c 20 | 77 68 69 63 68 49 6e 66 | global |whichInf|
|00000910| 6f 0d 0d 73 65 74 20 77 | 68 69 63 68 49 6e 66 6f |o..set w|hichInfo|
|00000920| 20 3d 20 32 0d 67 65 74 | 49 6e 66 6f 0d 0d 2d 2d | = 2.get|Info..--|
|00000930| 20 0d 2d 2d 20 54 68 69 | 73 20 73 63 72 69 70 74 | .-- Thi|s script|
|00000940| 20 73 65 74 73 20 75 70 | 20 74 68 65 20 67 6c 6f | sets up| the glo|
|00000950| 62 61 6c 20 76 61 72 69 | 61 62 6c 65 20 77 68 69 |bal vari|able whi|
|00000960| 63 68 49 6e 66 6f 0d 2d | 2d 20 61 6e 64 20 74 68 |chInfo.-|- and th|
|00000970| 65 6e 20 73 65 74 73 20 | 69 74 20 74 6f 20 62 65 |en sets |it to be|
|00000980| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate|
|00000990| 20 6e 75 6d 62 65 72 2e | 0d 2d 2d 20 0d 2d 2d 20 | number.|.-- .-- |
|000009a0| 54 68 65 20 68 61 6e 64 | 6c 65 72 20 67 65 74 49 |The hand|ler getI|
|000009b0| 6e 66 6f 20 69 73 20 74 | 68 65 6e 20 63 61 6c 6c |nfo is t|hen call|
|000009c0| 65 64 2c 20 61 6e 64 20 | 75 73 65 73 20 77 68 69 |ed, and |uses whi|
|000009d0| 63 68 49 6e 66 6f 0d 2d | 2d 20 74 6f 20 70 6c 61 |chInfo.-|- to pla|
|000009e0| 63 65 20 74 68 65 20 61 | 70 70 72 6f 70 72 69 61 |ce the a|ppropria|
|000009f0| 74 65 20 74 65 78 74 20 | 69 6e 20 74 68 65 20 63 |te text |in the c|
|00000a00| 6f 70 79 72 69 67 68 74 | 0d 2d 2d 20 69 6e 66 6f |opyright|.-- info|
|00000a10| 20 63 61 73 74 6d 65 6d | 62 65 72 2e 0d 2d 2d 20 | castmem|ber..-- |
|00000a20| 69 6e 69 74 67 6c 6f 62 | 61 6c 20 73 77 69 74 63 |initglob|al switc|
|00000a30| 68 4f 6e 2c 20 72 65 70 | 65 61 74 4f 6e 0d 0d 73 |hOn, rep|eatOn..s|
|00000a40| 65 74 20 73 77 69 74 63 | 68 4f 6e 20 3d 20 31 0d |et switc|hOn = 1.|
|00000a50| 0d 69 66 20 72 65 70 65 | 61 74 4f 6e 20 3d 20 31 |.if repe|atOn = 1|
|00000a60| 20 74 68 65 6e 0d 20 20 | 58 50 6c 61 79 50 41 43 | then. |XPlayPAC|
|00000a70| 6f 20 22 6f 70 65 6e 2d | 70 6c 61 79 2d 63 6c 6f |o "open-|play-clo|
|00000a80| 73 65 22 2c 20 61 6e 69 | 6d 50 61 74 68 26 22 53 |se", ani|mPath&"S|
|00000a90| 75 70 65 72 67 6c 6f 62 | 65 22 2c 20 22 70 6f 73 |uperglob|e", "pos|
|00000aa0| 22 2c 20 70 6f 73 58 2c | 20 70 6f 73 59 2c 20 22 |", posX,| posY, "|
|00000ab0| 6c 6f 6f 70 22 0d 20 20 | 0d 65 6c 73 65 0d 20 20 |loop". |.else. |
|00000ac0| 58 50 6c 61 79 50 41 43 | 6f 20 22 6f 70 65 6e 2d |XPlayPAC|o "open-|
|00000ad0| 70 6c 61 79 2d 63 6c 6f | 73 65 22 2c 20 61 6e 69 |play-clo|se", ani|
|00000ae0| 6d 50 61 74 68 26 22 53 | 75 70 65 72 67 6c 6f 62 |mPath&"S|uperglob|
|00000af0| 65 22 2c 20 22 70 6f 73 | 22 2c 20 70 6f 73 58 2c |e", "pos|", posX,|
|00000b00| 20 70 6f 73 59 0d 20 20 | 0d 65 6e 64 20 69 66 0d | posY. |.end if.|
|00000b10| 0d 0d 2d 2d 0d 2d 2d 20 | 54 68 65 20 66 69 72 73 |..--.-- |The firs|
|00000b20| 74 20 74 68 69 6e 67 20 | 74 68 69 73 20 68 61 6e |t thing |this han|
|00000b30| 64 6c 65 72 20 64 6f 65 | 73 20 69 73 20 73 65 74 |dler doe|s is set|
|00000b40| 20 74 68 65 20 67 6c 6f | 62 61 6c 20 76 61 72 69 | the glo|bal vari|
|00000b50| 61 62 6c 65 0d 2d 2d 20 | 73 77 69 74 63 68 4f 6e |able.-- |switchOn|
|00000b60| 20 65 71 75 61 6c 20 74 | 6f 20 31 2e 20 20 54 68 | equal t|o 1. Th|
|00000b70| 69 73 20 77 69 6c 6c 20 | 74 68 65 6e 20 63 61 75 |is will |then cau|
|00000b80| 73 65 20 74 68 65 20 62 | 6c 69 6e 6b 42 75 74 74 |se the b|linkButt|
|00000b90| 6f 6e 20 68 61 6e 64 6c | 65 72 0d 2d 2d 20 74 6f |on handl|er.-- to|
|00000ba0| 20 70 65 72 66 6f 72 6d | 20 74 68 65 20 73 65 63 | perform| the sec|
|00000bb0| 6f 6e 73 20 62 6c 69 6e | 6b 69 6e 67 20 62 75 74 |ons blin|king but|
|00000bc0| 74 6f 6e 20 6f 70 65 72 | 61 74 69 6f 6e 2e 0d 2d |ton oper|ation..-|
|00000bd0| 2d 20 0d 2d 2d 20 54 68 | 65 20 6e 65 78 74 20 63 |- .-- Th|e next c|
|00000be0| 6f 6d 6d 61 6e 64 20 69 | 73 20 74 68 65 20 50 41 |ommand i|s the PA|
|00000bf0| 43 6f 20 58 43 4d 44 2e | 20 20 54 68 69 73 20 69 |Co XCMD.| This i|
|00000c00| 73 20 61 20 76 65 72 79 | 20 73 69 6d 70 6c 65 20 |s a very| simple |
|00000c10| 63 6f 6d 6d 61 6e 64 2e | 20 20 54 68 65 0d 2d 2d |command.| The.--|
|00000c20| 20 22 6f 70 65 6e 2d 70 | 6c 61 79 2d 63 6c 6f 73 | "open-p|lay-clos|
|00000c30| 65 22 20 73 69 6d 70 6c | 79 20 63 61 6c 6c 73 20 |e" simpl|y calls |
|00000c40| 50 41 43 6f 2c 20 77 68 | 69 6c 65 20 74 68 65 20 |PACo, wh|ile the |
|00000c50| 6e 65 78 74 20 70 61 72 | 61 6d 65 74 65 72 20 69 |next par|ameter i|
|00000c60| 73 20 74 68 65 20 0d 2d | 2d 20 70 61 74 68 20 6f |s the .-|- path o|
|00000c70| 66 20 74 68 65 20 61 6e | 69 6d 61 74 69 6f 6e 20 |f the an|imation |
|00000c80| 69 6e 20 74 68 65 20 46 | 69 6e 64 65 72 2e 20 20 |in the F|inder. |
|00000c90| 53 69 6e 63 65 20 77 65 | 20 67 6f 74 20 74 68 65 |Since we| got the|
|00000ca0| 20 67 6c 6f 62 61 6c 20 | 61 6e 69 6d 50 61 74 68 | global |animPath|
|00000cb0| 0d 2d 2d 20 6f 6e 20 69 | 6e 69 74 69 61 6c 69 7a |.-- on i|nitializ|
|00000cc0| 61 74 69 6f 6e 2c 20 77 | 65 20 73 69 6d 70 6c 79 |ation, w|e simply|
|00000cd0| 20 61 64 64 20 74 68 65 | 20 41 6e 69 6d 61 74 69 | add the| Animati|
|00000ce0| 6f 6e 20 66 6f 6c 64 65 | 72 20 61 6e 64 20 66 69 |on folde|r and fi|
|00000cf0| 6c 65 6e 61 6d 65 0d 2d | 2d 20 74 6f 20 74 68 65 |lename.-|- to the|
|00000d00| 20 65 6e 64 20 6f 66 20 | 61 6e 69 6d 50 61 74 68 | end of |animPath|
|00000d10| 2e 20 20 22 70 6f 73 22 | 20 73 65 74 73 20 75 70 |. "pos"| sets up|
|00000d20| 20 50 41 43 6f 20 74 6f | 20 72 65 63 65 69 76 65 | PACo to| receive|
|00000d30| 20 63 6f 6f 72 64 69 6e | 61 74 65 73 0d 2d 2d 20 | coordin|ates.-- |
|00000d40| 6f 6e 20 77 68 65 72 65 | 20 74 6f 20 70 6c 61 79 |on where| to play|
|00000d50| 20 74 68 65 20 61 6e 69 | 6d 61 74 69 6f 6e 2c 20 | the ani|mation, |
|00000d60| 77 68 69 6c 65 20 70 6f | 73 58 20 61 6e 64 20 70 |while po|sX and p|
|00000d70| 6f 73 59 20 61 72 65 20 | 74 68 65 20 63 6f 6f 72 |osY are |the coor|
|00000d80| 64 69 6e 61 74 65 73 0d | 2d 2d 20 6f 66 20 77 68 |dinates.|-- of wh|
|00000d90| 65 72 65 20 77 65 20 77 | 69 73 68 20 74 6f 20 70 |ere we w|ish to p|
|00000da0| 6c 61 79 20 74 68 65 20 | 61 6e 69 6d 61 74 69 6f |lay the |animatio|
|00000db0| 6e 20 6f 6e 20 74 68 65 | 20 73 63 72 65 65 6e 2e |n on the| screen.|
|00000dc0| 20 28 54 68 65 73 65 20 | 6c 61 73 74 20 74 77 6f | (These |last two|
|00000dd0| 0d 2d 2d 20 76 61 72 69 | 61 62 6c 65 73 20 77 65 |.-- vari|ables we|
|00000de0| 72 65 20 73 65 74 20 75 | 70 20 6f 6e 20 69 6e 69 |re set u|p on ini|
|00000df0| 74 6c 69 7a 61 74 69 6f | 6e 2e 0d 2d 2d 20 0d 2d |tlizatio|n..-- .-|
|00000e00| 2d 20 57 68 65 6e 20 74 | 68 65 20 67 6c 6f 62 61 |- When t|he globa|
|00000e10| 6c 20 72 65 70 65 61 74 | 4f 6e 20 69 73 20 73 65 |l repeat|On is se|
|00000e20| 74 20 74 6f 20 31 2c 20 | 77 65 20 61 64 64 20 74 |t to 1, |we add t|
|00000e30| 68 65 20 22 6c 6f 6f 70 | 22 20 63 6f 6d 6d 61 6e |he "loop|" comman|
|00000e40| 64 20 74 6f 20 74 68 65 | 0d 2d 2d 20 50 41 43 6f |d to the|.-- PACo|
|00000e50| 20 58 43 4d 44 2e 20 20 | 54 68 69 73 20 73 69 6d | XCMD. |This sim|
|00000e60| 70 6c 79 20 6c 6f 6f 70 | 73 20 74 68 65 20 61 6e |ply loop|s the an|
|00000e70| 69 6d 61 74 69 6f 6e 20 | 75 6e 74 69 6c 20 61 20 |imation |until a |
|00000e80| 6d 6f 75 73 65 63 6c 69 | 63 6b 2e 0d 2d 2d 20 67 |mousecli|ck..-- g|
|00000e90| 6c 6f 62 61 6c 20 77 68 | 69 63 68 49 6e 66 6f 0d |lobal wh|ichInfo.|
|00000ea0| 0d 73 65 74 20 77 68 69 | 63 68 49 6e 66 6f 20 3d |.set whi|chInfo =|
|00000eb0| 20 33 0d 67 65 74 49 6e | 66 6f 0d 0d 2d 2d 20 0d | 3.getIn|fo..-- .|
|00000ec0| 2d 2d 20 54 68 69 73 20 | 73 63 72 69 70 74 20 73 |-- This |script s|
|00000ed0| 65 74 73 20 75 70 20 74 | 68 65 20 67 6c 6f 62 61 |ets up t|he globa|
|00000ee0| 6c 20 76 61 72 69 61 62 | 6c 65 20 77 68 69 63 68 |l variab|le which|
|00000ef0| 49 6e 66 6f 0d 2d 2d 20 | 61 6e 64 20 74 68 65 6e |Info.-- |and then|
|00000f00| 20 73 65 74 73 20 69 74 | 20 74 6f 20 62 65 20 74 | sets it| to be t|
|00000f10| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 6e |he appro|priate n|
|00000f20| 75 6d 62 65 72 2e 0d 2d | 2d 20 0d 2d 2d 20 54 68 |umber..-|- .-- Th|
|00000f30| 65 20 68 61 6e 64 6c 65 | 72 20 67 65 74 49 6e 66 |e handle|r getInf|
|00000f40| 6f 20 69 73 20 74 68 65 | 6e 20 63 61 6c 6c 65 64 |o is the|n called|
|00000f50| 2c 20 61 6e 64 20 75 73 | 65 73 20 77 68 69 63 68 |, and us|es which|
|00000f60| 49 6e 66 6f 0d 2d 2d 20 | 74 6f 20 70 6c 61 63 65 |Info.-- |to place|
|00000f70| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate|
|00000f80| 20 74 65 78 74 20 69 6e | 20 74 68 65 20 63 6f 70 | text in| the cop|
|00000f90| 79 72 69 67 68 74 0d 2d | 2d 20 69 6e 66 6f 20 63 |yright.-|- info c|
|00000fa0| 61 73 74 6d 65 6d 62 65 | 72 2e 0d 2d 2d 20 67 6c |astmembe|r..-- gl|
|00000fb0| 6f 62 61 6c 20 77 68 69 | 63 68 49 6e 66 6f 0d 0d |obal whi|chInfo..|
|00000fc0| 73 65 74 20 77 68 69 63 | 68 49 6e 66 6f 20 3d 20 |set whic|hInfo = |
|00000fd0| 35 0d 67 65 74 49 6e 66 | 6f 0d 0d 2d 2d 20 0d 2d |5.getInf|o..-- .-|
|00000fe0| 2d 20 54 68 69 73 20 73 | 63 72 69 70 74 20 73 65 |- This s|cript se|
|00000ff0| 74 73 20 75 70 20 74 68 | 65 20 67 6c 6f 62 61 6c |ts up th|e global|
|00001000| 20 76 61 72 69 61 62 6c | 65 20 77 68 69 63 68 49 | variabl|e whichI|
|00001010| 6e 66 6f 0d 2d 2d 20 61 | 6e 64 20 74 68 65 6e 20 |nfo.-- a|nd then |
|00001020| 73 65 74 73 20 69 74 20 | 74 6f 20 62 65 20 74 68 |sets it |to be th|
|00001030| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 6e 75 |e approp|riate nu|
|00001040| 6d 62 65 72 2e 0d 2d 2d | 20 0d 2d 2d 20 54 68 65 |mber..--| .-- The|
|00001050| 20 68 61 6e 64 6c 65 72 | 20 67 65 74 49 6e 66 6f | handler| getInfo|
|00001060| 20 69 73 20 74 68 65 6e | 20 63 61 6c 6c 65 64 2c | is then| called,|
|00001070| 20 61 6e 64 20 75 73 65 | 73 20 77 68 69 63 68 49 | and use|s whichI|
|00001080| 6e 66 6f 0d 2d 2d 20 74 | 6f 20 70 6c 61 63 65 20 |nfo.-- t|o place |
|00001090| 74 68 65 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 |the appr|opriate |
|000010a0| 74 65 78 74 20 69 6e 20 | 74 68 65 20 63 6f 70 79 |text in |the copy|
|000010b0| 72 69 67 68 74 0d 2d 2d | 20 69 6e 66 6f 20 63 61 |right.--| info ca|
|000010c0| 73 74 6d 65 6d 62 65 72 | 2e 0d 2d 2d 20 73 65 74 |stmember|..-- set|
|000010d0| 20 74 68 65 20 74 65 78 | 74 20 6f 66 20 63 61 73 | the tex|t of cas|
|000010e0| 74 20 41 36 31 20 74 6f | 20 22 20 22 0d 0d 0d 2d |t A61 to| " "...-|
|000010f0| 2d 20 0d 2d 2d 20 54 68 | 69 73 20 73 63 72 69 70 |- .-- Th|is scrip|
|00001100| 74 20 73 69 6d 70 6c 79 | 20 63 6c 65 61 72 73 20 |t simply| clears |
|00001110| 61 6e 79 20 74 65 78 74 | 20 74 68 61 74 20 6d 61 |any text| that ma|
|00001120| 79 20 61 70 70 65 61 72 | 20 69 6e 20 0d 2d 2d 20 |y appear| in .-- |
|00001130| 74 68 65 20 63 6f 70 79 | 72 69 67 68 74 20 69 6e |the copy|right in|
|00001140| 66 6f 20 74 65 78 74 20 | 63 61 73 74 6d 65 6d 62 |fo text |castmemb|
|00001150| 65 72 2e 0d 2d 2d 20 67 | 6c 6f 62 61 6c 20 73 77 |er..-- g|lobal sw|
|00001160| 69 74 63 68 4f 6e 2c 20 | 77 68 69 63 68 42 6c 69 |itchOn, |whichBli|
|00001170| 6e 6b 0d 0d 73 65 74 20 | 77 68 69 63 68 42 6c 69 |nk..set |whichBli|
|00001180| 6e 6b 20 3d 20 32 0d 0d | 69 66 20 73 77 69 74 63 |nk = 2..|if switc|
|00001190| 68 4f 6e 20 3d 20 30 20 | 74 68 65 6e 20 0d 20 20 |hOn = 0 |then . |
|000011a0| 70 75 70 70 65 74 53 70 | 72 69 74 65 20 31 33 2c |puppetSp|rite 13,|
|000011b0| 20 46 41 4c 53 45 0d 20 | 20 75 70 64 61 74 65 53 | FALSE. | updateS|
|000011c0| 74 61 67 65 0d 20 20 0d | 65 6c 73 65 0d 20 20 70 |tage. .|else. p|
|000011d0| 75 70 70 65 74 53 70 72 | 69 74 65 20 31 33 2c 20 |uppetSpr|ite 13, |
|000011e0| 54 52 55 45 0d 20 20 70 | 75 70 70 65 74 53 70 72 |TRUE. p|uppetSpr|
|000011f0| 69 74 65 20 31 34 2c 20 | 54 52 55 45 0d 20 20 75 |ite 14, |TRUE. u|
|00001200| 70 64 61 74 65 53 74 61 | 67 65 0d 65 6e 64 20 69 |pdateSta|ge.end i|
|00001210| 66 0d 0d 62 6c 69 6e 6b | 42 75 74 74 6f 6e 0d 0d |f..blink|Button..|
|00001220| 67 6f 20 74 6f 20 74 68 | 65 20 66 72 61 6d 65 0d |go to th|e frame.|
|00001230| 0d 0d 2d 2d 0d 2d 2d 20 | 4d 6f 72 65 20 6f 66 20 |..--.-- |More of |
|00001240| 74 68 65 20 63 6c 65 61 | 6e 75 70 20 73 63 72 69 |the clea|nup scri|
|00001250| 70 74 20 73 74 75 66 66 | 2e 0d 2d 2d 20 0d 2d 2d |pt stuff|..-- .--|
|00001260| 20 54 68 69 73 20 73 63 | 72 69 70 74 20 61 6c 73 | This sc|ript als|
|00001270| 6f 20 73 65 74 73 20 74 | 68 65 20 77 68 69 63 68 |o sets t|he which|
|00001280| 42 6c 69 6e 6b 20 76 61 | 72 61 69 62 6c 65 20 74 |Blink va|raible t|
|00001290| 6f 20 33 2c 20 74 68 75 | 73 20 0d 2d 2d 20 6d 61 |o 3, thu|s .-- ma|
|000012a0| 6b 69 6e 67 20 74 68 65 | 20 50 6c 61 79 20 62 75 |king the| Play bu|
|000012b0| 74 74 6f 6e 20 62 6c 69 | 6e 6b 20 66 69 72 73 74 |tton bli|nk first|
|000012c0| 2c 20 74 68 65 6e 20 74 | 68 65 20 4d 61 69 6e 20 |, then t|he Main |
|000012d0| 62 75 74 74 6f 6e 0d 2d | 2d 20 62 6c 69 6e 6b 20 |button.-|- blink |
|000012e0| 73 65 63 6f 6e 64 2e 0d | 2d 2d 20 0d 2d 2d 20 54 |second..|-- .-- T|
|000012f0| 68 69 73 20 70 61 74 68 | 20 63 61 6e 20 62 65 20 |his path| can be |
|00001300| 73 65 65 6e 20 62 79 20 | 6c 6f 6f 6b 69 6e 67 20 |seen by |looking |
|00001310| 61 74 20 74 68 65 20 77 | 68 69 63 68 42 6c 69 6e |at the w|hichBlin|
|00001320| 6b 20 68 61 6e 64 6c 65 | 72 0d 2d 2d 20 61 73 20 |k handle|r.-- as |
|00001330| 77 65 6c 6c 20 61 73 20 | 63 68 65 63 6b 69 6e 67 |well as |checking|
|00001340| 20 74 68 65 20 63 6f 6d | 6d 65 6e 74 73 20 6f 6e | the com|ments on|
|00001350| 20 74 68 65 20 50 6c 61 | 79 20 62 75 74 74 6f 6e | the Pla|y button|
|00001360| 20 73 70 72 69 74 65 2e | 0d 2d 2d 20 0d 67 6c 6f | sprite.|.-- .glo|
|00001370| 62 61 6c 20 77 68 69 63 | 68 49 6e 66 6f 0d 0d 73 |bal whic|hInfo..s|
|00001380| 65 74 20 77 68 69 63 68 | 49 6e 66 6f 20 3d 20 37 |et which|Info = 7|
|00001390| 0d 67 65 74 49 6e 66 6f | 0d 0d 2d 2d 20 0d 2d 2d |.getInfo|..-- .--|
|000013a0| 20 54 68 69 73 20 73 63 | 72 69 70 74 20 73 65 74 | This sc|ript set|
|000013b0| 73 20 75 70 20 74 68 65 | 20 67 6c 6f 62 61 6c 20 |s up the| global |
|000013c0| 76 61 72 69 61 62 6c 65 | 20 77 68 69 63 68 49 6e |variable| whichIn|
|000013d0| 66 6f 0d 2d 2d 20 61 6e | 64 20 74 68 65 6e 20 73 |fo.-- an|d then s|
|000013e0| 65 74 73 20 69 74 20 74 | 6f 20 62 65 20 74 68 65 |ets it t|o be the|
|000013f0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 6e 75 6d | appropr|iate num|
|00001400| 62 65 72 2e 0d 2d 2d 20 | 0d 2d 2d 20 54 68 65 20 |ber..-- |.-- The |
|00001410| 68 61 6e 64 6c 65 72 20 | 67 65 74 49 6e 66 6f 20 |handler |getInfo |
|00001420| 69 73 20 74 68 65 6e 20 | 63 61 6c 6c 65 64 2c 20 |is then |called, |
|00001430| 61 6e 64 20 75 73 65 73 | 20 77 68 69 63 68 49 6e |and uses| whichIn|
|00001440| 66 6f 0d 2d 2d 20 74 6f | 20 70 6c 61 63 65 20 74 |fo.-- to| place t|
|00001450| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 74 |he appro|priate t|
|00001460| 65 78 74 20 69 6e 20 74 | 68 65 20 63 6f 70 79 72 |ext in t|he copyr|
|00001470| 69 67 68 74 0d 2d 2d 20 | 69 6e 66 6f 20 63 61 73 |ight.-- |info cas|
|00001480| 74 6d 65 6d 62 65 72 2e | 0d 2d 2d 20 67 6c 6f 62 |tmember.|.-- glob|
|00001490| 61 6c 20 77 68 69 63 68 | 49 6e 66 6f 0d 0d 73 65 |al which|Info..se|
|000014a0| 74 20 77 68 69 63 68 49 | 6e 66 6f 20 3d 20 38 0d |t whichI|nfo = 8.|
|000014b0| 67 65 74 49 6e 66 6f 0d | 0d 2d 2d 20 0d 2d 2d 20 |getInfo.|.-- .-- |
|000014c0| 54 68 69 73 20 73 63 72 | 69 70 74 20 73 65 74 73 |This scr|ipt sets|
|000014d0| 20 75 70 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 76 | up the |global v|
|000014e0| 61 72 69 61 62 6c 65 20 | 77 68 69 63 68 49 6e 66 |ariable |whichInf|
|000014f0| 6f 0d 2d 2d 20 61 6e 64 | 20 74 68 65 6e 20 73 65 |o.-- and| then se|
|00001500| 74 73 20 69 74 20 74 6f | 20 62 65 20 74 68 65 20 |ts it to| be the |
|00001510| 61 70 70 72 6f 70 72 69 | 61 74 65 20 6e 75 6d 62 |appropri|ate numb|
|00001520| 65 72 2e 0d 2d 2d 20 0d | 2d 2d 20 54 68 65 20 68 |er..-- .|-- The h|
|00001530| 61 6e 64 6c 65 72 20 67 | 65 74 49 6e 66 6f 20 69 |andler g|etInfo i|
|00001540| 73 20 74 68 65 6e 20 63 | 61 6c 6c 65 64 2c 20 61 |s then c|alled, a|
|00001550| 6e 64 20 75 73 65 73 20 | 77 68 69 63 68 49 6e 66 |nd uses |whichInf|
|00001560| 6f 0d 2d 2d 20 74 6f 20 | 70 6c 61 63 65 20 74 68 |o.-- to |place th|
|00001570| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 74 65 |e approp|riate te|
|00001580| 78 74 20 69 6e 20 74 68 | 65 20 63 6f 70 79 72 69 |xt in th|e copyri|
|00001590| 67 68 74 0d 2d 2d 20 69 | 6e 66 6f 20 63 61 73 74 |ght.-- i|nfo cast|
|000015a0| 6d 65 6d 62 65 72 2e 0d | 2d 2d 20 67 6c 6f 62 61 |member..|-- globa|
|000015b0| 6c 20 73 77 69 74 63 68 | 4f 6e 2c 20 77 68 69 63 |l switch|On, whic|
|000015c0| 68 42 6c 69 6e 6b 0d 0d | 73 65 74 20 77 68 69 63 |hBlink..|set whic|
|000015d0| 68 42 6c 69 6e 6b 20 3d | 20 33 0d 0d 69 66 20 73 |hBlink =| 3..if s|
|000015e0| 77 69 74 63 68 4f 6e 20 | 3d 20 30 20 74 68 65 6e |witchOn |= 0 then|
|000015f0| 20 0d 20 20 70 75 70 70 | 65 74 53 70 72 69 74 65 | . pupp|etSprite|
|00001600| 20 31 33 2c 20 46 41 4c | 53 45 0d 20 20 70 75 70 | 13, FAL|SE. pup|
|00001610| 70 65 74 53 70 72 69 74 | 65 20 39 2c 20 46 41 4c |petSprit|e 9, FAL|
|00001620| 53 45 0d 20 20 75 70 64 | 61 74 65 53 74 61 67 65 |SE. upd|ateStage|
|00001630| 0d 20 20 0d 65 6c 73 65 | 0d 20 20 70 75 70 70 65 |. .else|. puppe|
|00001640| 74 53 70 72 69 74 65 20 | 39 2c 20 54 52 55 45 0d |tSprite |9, TRUE.|
|00001650| 20 20 70 75 70 70 65 74 | 53 70 72 69 74 65 20 31 | puppet|Sprite 1|
|00001660| 34 2c 20 46 41 4c 53 45 | 0d 20 20 75 70 64 61 74 |4, FALSE|. updat|
|00001670| 65 53 74 61 67 65 0d 20 | 20 0d 65 6e 64 20 69 66 |eStage. | .end if|
|00001680| 0d 0d 62 6c 69 6e 6b 42 | 75 74 74 6f 6e 0d 0d 67 |..blinkB|utton..g|
|00001690| 6f 20 74 6f 20 74 68 65 | 20 66 72 61 6d 65 0d 0d |o to the| frame..|
|000016a0| 0d 2d 2d 0d 2d 2d 20 4d | 6f 72 65 20 6f 66 20 74 |.--.-- M|ore of t|
|000016b0| 68 65 20 63 6c 65 61 6e | 75 70 20 73 63 72 69 70 |he clean|up scrip|
|000016c0| 74 20 73 74 75 66 66 2e | 0d 2d 2d 20 0d 2d 2d 20 |t stuff.|.-- .-- |
|000016d0| 54 68 69 73 20 73 63 72 | 69 70 74 20 61 6c 73 6f |This scr|ipt also|
|000016e0| 20 73 65 74 73 20 74 68 | 65 20 77 68 69 63 68 42 | sets th|e whichB|
|000016f0| 6c 69 6e 6b 20 76 61 72 | 61 69 62 6c 65 20 74 6f |link var|aible to|
|00001700| 20 33 2c 20 74 68 75 73 | 20 0d 2d 2d 20 6d 61 6b | 3, thus| .-- mak|
|00001710| 69 6e 67 20 74 68 65 20 | 50 6c 61 79 20 62 75 74 |ing the |Play but|
|00001720| 74 6f 6e 20 62 6c 69 6e | 6b 20 66 69 72 73 74 2c |ton blin|k first,|
|00001730| 20 74 68 65 6e 20 74 68 | 65 20 4d 61 69 6e 20 62 | then th|e Main b|
|00001740| 75 74 74 6f 6e 0d 2d 2d | 20 62 6c 69 6e 6b 20 73 |utton.--| blink s|
|00001750| 65 63 6f 6e 64 2e 0d 2d | 2d 20 0d 2d 2d 20 54 68 |econd..-|- .-- Th|
|00001760| 69 73 20 70 61 74 68 20 | 63 61 6e 20 62 65 20 73 |is path |can be s|
|00001770| 65 65 6e 20 62 79 20 6c | 6f 6f 6b 69 6e 67 20 61 |een by l|ooking a|
|00001780| 74 20 74 68 65 20 77 68 | 69 63 68 42 6c 69 6e 6b |t the wh|ichBlink|
|00001790| 20 68 61 6e 64 6c 65 72 | 0d 2d 2d 20 61 73 20 77 | handler|.-- as w|
|000017a0| 65 6c 6c 20 61 73 20 63 | 68 65 63 6b 69 6e 67 20 |ell as c|hecking |
|000017b0| 74 68 65 20 63 6f 6d 6d | 65 6e 74 73 20 6f 6e 20 |the comm|ents on |
|000017c0| 74 68 65 20 50 6c 61 79 | 20 62 75 74 74 6f 6e 20 |the Play| button |
|000017d0| 73 70 72 69 74 65 2e 0d | 2d 2d 20 0d 67 6c 6f 62 |sprite..|-- .glob|
|000017e0| 61 6c 20 77 68 69 63 68 | 42 6c 69 6e 6b 0d 0d 73 |al which|Blink..s|
|000017f0| 65 74 20 77 68 69 63 68 | 42 6c 69 6e 6b 20 3d 20 |et which|Blink = |
|00001800| 31 0d 62 6c 69 6e 6b 42 | 75 74 74 6f 6e 0d 0d 67 |1.blinkB|utton..g|
|00001810| 6f 20 74 6f 20 74 68 65 | 20 66 72 61 6d 65 0d 0d |o to the| frame..|
|00001820| 2d 2d 0d 2d 2d 20 54 68 | 69 73 20 69 73 20 61 20 |--.-- Th|is is a |
|00001830| 73 69 6d 70 6c 65 20 73 | 63 72 69 70 74 2e 20 20 |simple s|cript. |
|00001840| 54 68 65 20 67 6c 6f 62 | 61 6c 20 63 61 6c 6c 20 |The glob|al call |
|00001850| 73 65 74 73 20 75 70 0d | 2d 2d 20 74 68 65 20 76 |sets up.|-- the v|
|00001860| 61 72 69 61 62 6c 65 20 | 77 68 69 63 68 42 6c 69 |ariable |whichBli|
|00001870| 6e 6b 2e 0d 2d 2d 20 0d | 2d 2d 20 54 68 69 73 20 |nk..-- .|-- This |
|00001880| 76 61 72 69 61 62 6c 65 | 20 69 73 20 74 68 65 6e |variable| is then|
|00001890| 20 73 65 74 20 74 6f 20 | 65 71 75 61 6c 20 31 2c | set to |equal 1,|
|000018a0| 20 77 68 69 63 68 20 69 | 73 20 0d 2d 2d 20 74 68 | which i|s .-- th|
|000018b0| 65 20 66 69 72 73 74 20 | 63 61 73 65 20 69 6e 20 |e first |case in |
|000018c0| 74 68 65 20 68 61 6e 64 | 6c 65 72 20 77 68 65 72 |the hand|ler wher|
|000018d0| 65 20 69 74 20 69 73 20 | 75 73 65 64 2e 0d 2d 2d |e it is |used..--|
|000018e0| 20 0d 2d 2d 20 54 68 65 | 6e 2c 20 74 68 65 20 68 | .-- The|n, the h|
|000018f0| 61 6e 64 6c 65 72 20 62 | 6c 69 6e 6b 42 75 74 74 |andler b|linkButt|
|00001900| 6f 6e 20 69 73 20 63 61 | 6c 6c 65 64 2c 20 61 6e |on is ca|lled, an|
|00001910| 64 20 69 74 0d 2d 2d 20 | 75 73 65 73 20 74 68 65 |d it.-- |uses the|
|00001920| 20 76 61 72 69 61 62 6c | 65 20 77 68 69 63 68 42 | variabl|e whichB|
|00001930| 6c 69 6e 6b 20 74 6f 20 | 64 65 74 65 72 6d 69 6e |link to |determin|
|00001940| 65 20 77 68 69 63 68 0d | 2d 2d 20 73 63 72 69 70 |e which.|-- scrip|
|00001950| 74 20 69 74 20 73 68 6f | 75 6c 64 20 75 73 65 20 |t it sho|uld use |
|00001960| 74 6f 20 6d 61 6b 65 20 | 74 68 65 20 61 70 70 72 |to make |the appr|
|00001970| 6f 70 72 69 61 74 65 20 | 62 75 74 74 6f 6e 0d 2d |opriate |button.-|
|00001980| 2d 20 62 6c 69 6e 6b 2e | 0d 2d 2d 20 0d 2d 2d 20 |- blink.|.-- .-- |
|00001990| 54 68 65 20 65 6e 64 20 | 6c 69 6e 65 2c 20 67 6f |The end |line, go|
|000019a0| 20 74 6f 20 74 68 65 20 | 66 72 61 6d 65 20 69 73 | to the |frame is|
|000019b0| 20 61 20 73 69 6d 70 6c | 65 20 63 6f 6d 6d 61 6e | a simpl|e comman|
|000019c0| 64 0d 2d 2d 20 74 68 61 | 74 20 63 61 75 73 65 73 |d.-- tha|t causes|
|000019d0| 20 61 6e 20 69 6e 66 69 | 6e 69 74 65 20 6c 6f 6f | an infi|nite loo|
|000019e0| 70 20 75 6e 74 69 6c 20 | 74 68 65 20 53 74 65 70 |p until |the Step|
|000019f0| 20 46 6f 72 77 61 72 64 | 0d 2d 2d 20 6f 72 20 53 | Forward|.-- or S|
|00001a00| 74 65 70 20 42 61 63 6b | 20 62 75 74 74 6f 6e 73 |tep Back| buttons|
|00001a10| 20 61 72 65 20 70 72 65 | 73 73 65 64 2c 20 77 68 | are pre|ssed, wh|
|00001a20| 69 63 68 20 73 65 6e 64 | 20 74 68 65 20 75 73 65 |ich send| the use|
|00001a30| 72 0d 2d 2d 20 74 6f 20 | 61 6e 6f 74 68 65 72 20 |r.-- to |another |
|00001a40| 70 6c 61 63 65 2e 0d 2d | 2d 20 67 6f 20 74 6f 20 |place..-|- go to |
|00001a50| 6d 61 72 6b 65 72 20 28 | 31 29 67 6f 20 74 6f 20 |marker (|1)go to |
|00001a60| 6d 61 72 6b 65 72 20 28 | 2d 31 29 77 68 69 63 68 |marker (|-1)which|
|00001a70| 4c 6f 6f 70 67 6c 6f 62 | 61 6c 20 73 77 69 74 63 |Loopglob|al switc|
|00001a80| 68 4f 6e 2c 20 72 65 70 | 65 61 74 4f 6e 0d 0d 73 |hOn, rep|eatOn..s|
|00001a90| 65 74 20 73 77 69 74 63 | 68 4f 6e 20 3d 20 31 0d |et switc|hOn = 1.|
|00001aa0| 0d 69 66 20 72 65 70 65 | 61 74 4f 6e 20 3d 20 31 |.if repe|atOn = 1|
|00001ab0| 20 74 68 65 6e 0d 20 20 | 58 50 6c 61 79 50 41 43 | then. |XPlayPAC|
|00001ac0| 6f 20 22 6f 70 65 6e 2d | 70 6c 61 79 2d 63 6c 6f |o "open-|play-clo|
|00001ad0| 73 65 22 2c 20 61 6e 69 | 6d 50 61 74 68 26 22 54 |se", ani|mPath&"T|
|00001ae0| 6f 79 22 2c 20 22 70 6f | 73 22 2c 20 70 6f 73 58 |oy", "po|s", posX|
|00001af0| 2c 20 70 6f 73 59 2c 20 | 22 6c 6f 6f 70 22 0d 20 |, posY, |"loop". |
|00001b00| 20 0d 65 6c 73 65 0d 20 | 20 58 50 6c 61 79 50 41 | .else. | XPlayPA|
|00001b10| 43 6f 20 22 6f 70 65 6e | 2d 70 6c 61 79 2d 63 6c |Co "open|-play-cl|
|00001b20| 6f 73 65 22 2c 20 61 6e | 69 6d 50 61 74 68 26 22 |ose", an|imPath&"|
|00001b30| 54 6f 79 22 2c 20 22 70 | 6f 73 22 2c 20 70 6f 73 |Toy", "p|os", pos|
|00001b40| 58 2c 20 70 6f 73 59 0d | 20 20 0d 65 6e 64 20 69 |X, posY.| .end i|
|00001b50| 66 0d 0d 0d 2d 2d 0d 2d | 2d 20 54 68 65 20 66 69 |f...--.-|- The fi|
|00001b60| 72 73 74 20 74 68 69 6e | 67 20 74 68 69 73 20 68 |rst thin|g this h|
|00001b70| 61 6e 64 6c 65 72 20 64 | 6f 65 73 20 69 73 20 73 |andler d|oes is s|
|00001b80| 65 74 20 74 68 65 20 67 | 6c 6f 62 61 6c 20 76 61 |et the g|lobal va|
|00001b90| 72 69 61 62 6c 65 0d 2d | 2d 20 73 77 69 74 63 68 |riable.-|- switch|
|00001ba0| 4f 6e 20 65 71 75 61 6c | 20 74 6f 20 31 2e 20 20 |On equal| to 1. |
|00001bb0| 54 68 69 73 20 77 69 6c | 6c 20 74 68 65 6e 20 63 |This wil|l then c|
|00001bc0| 61 75 73 65 20 74 68 65 | 20 62 6c 69 6e 6b 42 75 |ause the| blinkBu|
|00001bd0| 74 74 6f 6e 20 68 61 6e | 64 6c 65 72 0d 2d 2d 20 |tton han|dler.-- |
|00001be0| 74 6f 20 70 65 72 66 6f | 72 6d 20 74 68 65 20 73 |to perfo|rm the s|
|00001bf0| 65 63 6f 6e 73 20 62 6c | 69 6e 6b 69 6e 67 20 62 |econs bl|inking b|
|00001c00| 75 74 74 6f 6e 20 6f 70 | 65 72 61 74 69 6f 6e 2e |utton op|eration.|
|00001c10| 0d 2d 2d 20 0d 2d 2d 20 | 54 68 65 20 6e 65 78 74 |.-- .-- |The next|
|00001c20| 20 63 6f 6d 6d 61 6e 64 | 20 69 73 20 74 68 65 20 | command| is the |
|00001c30| 50 41 43 6f 20 58 43 4d | 44 2e 20 20 54 68 69 73 |PACo XCM|D. This|
|00001c40| 20 69 73 20 61 20 76 65 | 72 79 20 73 69 6d 70 6c | is a ve|ry simpl|
|00001c50| 65 20 63 6f 6d 6d 61 6e | 64 2e 20 20 54 68 65 0d |e comman|d. The.|
|00001c60| 2d 2d 20 22 6f 70 65 6e | 2d 70 6c 61 79 2d 63 6c |-- "open|-play-cl|
|00001c70| 6f 73 65 22 20 73 69 6d | 70 6c 79 20 63 61 6c 6c |ose" sim|ply call|
|00001c80| 73 20 50 41 43 6f 2c 20 | 77 68 69 6c 65 20 74 68 |s PACo, |while th|
|00001c90| 65 20 6e 65 78 74 20 70 | 61 72 61 6d 65 74 65 72 |e next p|arameter|
|00001ca0| 20 69 73 20 74 68 65 20 | 0d 2d 2d 20 70 61 74 68 | is the |.-- path|
|00001cb0| 20 6f 66 20 74 68 65 20 | 61 6e 69 6d 61 74 69 6f | of the |animatio|
|00001cc0| 6e 20 69 6e 20 74 68 65 | 20 46 69 6e 64 65 72 2e |n in the| Finder.|
|00001cd0| 20 20 53 69 6e 63 65 20 | 77 65 20 67 6f 74 20 74 | Since |we got t|
|00001ce0| 68 65 20 67 6c 6f 62 61 | 6c 20 61 6e 69 6d 50 61 |he globa|l animPa|
|00001cf0| 74 68 0d 2d 2d 20 6f 6e | 20 69 6e 69 74 69 61 6c |th.-- on| initial|
|00001d00| 69 7a 61 74 69 6f 6e 2c | 20 77 65 20 73 69 6d 70 |ization,| we simp|
|00001d10| 6c 79 20 61 64 64 20 74 | 68 65 20 41 6e 69 6d 61 |ly add t|he Anima|
|00001d20| 74 69 6f 6e 20 66 6f 6c | 64 65 72 20 61 6e 64 20 |tion fol|der and |
|00001d30| 66 69 6c 65 6e 61 6d 65 | 0d 2d 2d 20 74 6f 20 74 |filename|.-- to t|
|00001d40| 68 65 20 65 6e 64 20 6f | 66 20 61 6e 69 6d 50 61 |he end o|f animPa|
|00001d50| 74 68 2e 20 20 22 70 6f | 73 22 20 73 65 74 73 20 |th. "po|s" sets |
|00001d60| 75 70 20 50 41 43 6f 20 | 74 6f 20 72 65 63 65 69 |up PACo |to recei|
|00001d70| 76 65 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 0d 2d |ve coord|inates.-|
|00001d80| 2d 20 6f 6e 20 77 68 65 | 72 65 20 74 6f 20 70 6c |- on whe|re to pl|
|00001d90| 61 79 20 74 68 65 20 61 | 6e 69 6d 61 74 69 6f 6e |ay the a|nimation|
|00001da0| 2c 20 77 68 69 6c 65 20 | 70 6f 73 58 20 61 6e 64 |, while |posX and|
|00001db0| 20 70 6f 73 59 20 61 72 | 65 20 74 68 65 20 63 6f | posY ar|e the co|
|00001dc0| 6f 72 64 69 6e 61 74 65 | 73 0d 2d 2d 20 6f 66 20 |ordinate|s.-- of |
|00001dd0| 77 68 65 72 65 20 77 65 | 20 77 69 73 68 20 74 6f |where we| wish to|
|00001de0| 20 70 6c 61 79 20 74 68 | 65 20 61 6e 69 6d 61 74 | play th|e animat|
|00001df0| 69 6f 6e 20 6f 6e 20 74 | 68 65 20 73 63 72 65 65 |ion on t|he scree|
|00001e00| 6e 2e 20 28 54 68 65 73 | 65 20 6c 61 73 74 20 74 |n. (Thes|e last t|
|00001e10| 77 6f 0d 2d 2d 20 76 61 | 72 69 61 62 6c 65 73 20 |wo.-- va|riables |
|00001e20| 77 65 72 65 20 73 65 74 | 20 75 70 20 6f 6e 20 69 |were set| up on i|
|00001e30| 6e 69 74 6c 69 7a 61 74 | 69 6f 6e 2e 0d 2d 2d 20 |nitlizat|ion..-- |
|00001e40| 0d 2d 2d 20 57 68 65 6e | 20 74 68 65 20 67 6c 6f |.-- When| the glo|
|00001e50| 62 61 6c 20 72 65 70 65 | 61 74 4f 6e 20 69 73 20 |bal repe|atOn is |
|00001e60| 73 65 74 20 74 6f 20 31 | 2c 20 77 65 20 61 64 64 |set to 1|, we add|
|00001e70| 20 74 68 65 20 22 6c 6f | 6f 70 22 20 63 6f 6d 6d | the "lo|op" comm|
|00001e80| 61 6e 64 20 74 6f 20 74 | 68 65 0d 2d 2d 20 50 41 |and to t|he.-- PA|
|00001e90| 43 6f 20 58 43 4d 44 2e | 20 20 54 68 69 73 20 73 |Co XCMD.| This s|
|00001ea0| 69 6d 70 6c 79 20 6c 6f | 6f 70 73 20 74 68 65 20 |imply lo|ops the |
|00001eb0| 61 6e 69 6d 61 74 69 6f | 6e 20 75 6e 74 69 6c 20 |animatio|n until |
|00001ec0| 61 20 6d 6f 75 73 65 63 | 6c 69 63 6b 2e 0d 2d 2d |a mousec|lick..--|
|00001ed0| 20 | | | |
+--------+-------------------------+-------------------------+--------+--------+